package org.bright.service;

import com.github.pagehelper.PageInfo;
import org.bright.dto.EmployeesDTO;
import org.bright.entity.Employees;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bright
 * @since 2024-10-21
 */
public interface IEmployeesService extends IService<Employees> {
    PageInfo<Employees> selectAllByEmpNameAndPhoneNumber(int pageNum,String empName, String phoneNumber);
    int insertBatch(List<EmployeesDTO> employeesCollection);
    int updateSelective(EmployeesDTO employeesDTO);
    int deleteByEmployeeId(Integer employeeId);
    Employees selectAllByLoginNameAndPassword(String loginName, String password);

    Employees selectAllByEmployeeId(Integer employeeId);
}
